package com.tuanzi.loan.business.repository.statistics;

import com.tuanzi.loan.vo.request.check.CheckUserStatRequest;
import com.tuanzi.loan.vo.response.check.CheckUserStatResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 撞库统计 JOOQRepositoryInterface
 *
 * created by chuIllusions_tan 20180727
 */
public interface CheckUserStatRepository {

    /**
     * DistributionStat查询
     * @param searchRequest 请求信息
     * @param pageable 分页信息
     * @return 响应列表
     */
    Page<CheckUserStatResponse> list(CheckUserStatRequest searchRequest, Pageable pageable);

    List<CheckUserStatResponse> getDataList(CheckUserStatRequest searchRequest);
}
